<? session_start();
	if(isset($_SESSION['id']) & isset($_SESSION['pass']))
	{
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Form Tambah Mahasiswa</title>
</head>

<body>
<form method="post" action="add_mhs.php">
	<table>
		<tr>
			<td colspan="3">Menu Tambah Mahasiswa</td>
		</tr>
		<tr>
			<td>NRP</td>
			<td>:</td>
			<td><input name="nrp" type="text"></td>
		</tr>
		<tr>
			<td>Nama</td>
			<td>:</td>
			<td><input name="nama" type="text"></td>
		</tr>
		<tr>
			<td>Password</td>
			<td>:</td>
			<td><input name="pass" type="text"></td>
		</tr>
		<tr>
			<td><input name="submit" type="submit" value="Save"></td>
			<td>&nbsp;</td>
			<td><input name="reset" type="reset" value="Reset"></td>
		</tr>
	</table>
	<a href="menu_mahasiswa.php">Back to Menu Mahasiswa</a><br>
	<a href="menu_admin.php">Back to Menu Admin</a>
</form>

</body>
</html>
<? 
	}
	else
	echo "Silahkan <a href='index.php'>Login</a> dulu.";
?>
